﻿<Window x:Class="EPE.WPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        Title="房地产定价决策支持系统" Height="1024" Width="768">
    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="130"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>

        <ribbon:Ribbon x:Name="Ribbon" Grid.Row="0" Height="130">
            <ribbon:RibbonTab x:Name="sys" HeaderStyle="{StaticResource TabHeaderStyle}" Header="系统管理">

                <ribbon:RibbonGroup x:Name="grpSystem" Header="" VerticalAlignment="Top">
                    <Grid VerticalAlignment="Top">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <ribbon:RibbonButton Name="btnUser" Label="用户管理" Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                        <ribbon:RibbonButton Name="btnRole" Label="权限管理" Grid.Row="0" Grid.Column="1" VerticalAlignment="Top" LargeImageSource="Resources/image/out.gif"  />
                        </Grid>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="ShopsProject" HeaderStyle="{StaticResource TabHeaderStyle}" Header="商铺管理">
                <ribbon:RibbonGroup x:Name="grpShopsProject" Header="" VerticalAlignment="Top">
                    <Grid VerticalAlignment="Top">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="100"></ColumnDefinition>
                        <ColumnDefinition Width="100"></ColumnDefinition>
                        <ColumnDefinition Width="100"></ColumnDefinition>
                        <ColumnDefinition Width="100"></ColumnDefinition>
                        <ColumnDefinition Width="100"></ColumnDefinition>
                    </Grid.ColumnDefinitions>

                    <ribbon:RibbonButton Name="btnProject" Label="项目" Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                    <ribbon:RibbonButton Name="btnPara" Label="价格数管理" Grid.Row="0" Grid.Column="1" VerticalAlignment="Top" LargeImageSource="Resources/image/out.gif"  />
                    <ribbon:RibbonButton Name="btnBuild" Label="楼栋管理" Grid.Row="0" Grid.Column="2" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                    <ribbon:RibbonButton Name="btnShops" Label="铺面管理" Grid.Row="0" Grid.Column="3" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                    
                </Grid>
                    </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="HouseProject" HeaderStyle="{StaticResource TabHeaderStyle}" Header="住宅管理">
                <ribbon:RibbonGroup x:Name="grpHouseProjectt" Header="" VerticalAlignment="Top">
                    <Grid VerticalAlignment="Top">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                            <ColumnDefinition Width="100"></ColumnDefinition>
                        </Grid.ColumnDefinitions>

                        <ribbon:RibbonButton Name="btnHouseProjectt" Label="项目" Grid.Row="0" Grid.Column="0" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                        <ribbon:RibbonButton Name="btnHousePara" Label="价格数管理" Grid.Row="0" Grid.Column="1" VerticalAlignment="Top" LargeImageSource="Resources/image/out.gif"  />
                        <ribbon:RibbonButton Name="btnHouseBuild" Label="楼栋管理" Grid.Row="0" Grid.Column="2" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />
                        <ribbon:RibbonButton Name="btnHouse" Label="房号管理" Grid.Row="0" Grid.Column="3" VerticalAlignment="Top" LargeImageSource="Resources/image/in.gif"  />

                    </Grid>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
        </ribbon:Ribbon>
    </Grid>
</Window>
